import Axios from "axios";

let getAllPersonList = function () {
  return new Promise((resolve, reject) => {
    Axios.get("/person/listAllPerson", {}).then((res) => {
      resolve(res)
    }).catch((err) => {
      reject(err)
    });
  })
};

export {
  getAllPersonList
}